import request from '@/utils/request'

export function getList(category) {
  return request({
    url: '/bs/getPhotoz',
    method: 'get',
    params: {
      category
    }
  })
}

export function addPhoto(category, imgUrl) {
  return request({
    url: '/bs/switchSubmitFeedback',
    method: 'get',
    params: {
      category,
      imgUrl
    }
  })
}

export function delPhoto(category, id) {
  return request({
    url: '/bs/delPhoto',
    method: 'get',
    params: {
      category,
      id
    }
  })
}
